/*
 * Tree.java
 *
 * Created on 2008/012/02 +0900
 *
 * $Revision: 59 $
 * $Date: 2008-12-28 19:22:21 +0000 (Sun, 28 Dec 2008) $
 */

package org.gikolet.framework.ui;

/**
 * @author Tetsutaro (latest modification by $Author: tetsutaro.ss $)
 * @version $Revision: 59 $ $Date: 2008-12-28 19:22:21 +0000 (Sun, 28 Dec 2008) $
 */
public class Tree extends Blocker {
    private TreeContentProvider contentProvider;
    private LabelProvider labelProvider;

    private Object inputElement;

    public Tree() {
	super(true);
    }

    class StringBlock implements Block {

	public int getHeight() {
	    return 0;
	}

	public int getWidth() {
	    return 0;
	}

	public int getX() {
	    return 0;
	}

	public int getY() {
	    return 0;
	}

	public void paint(Graphics g) {

	}
    }

    public void setInputElement(Object intputElement) {
	this.inputElement = intputElement;

	Object[] elements = this.contentProvider.getElements(intputElement);

	for (int i = 0; i < elements.length; i++) {
	    Block b = new StringBlock();

	}
    }

    public void refresh() {
    }
}
